package ooday05.JavaCodeHomework.Q1;
/** 演示PointDemo06类 */
public class PointDemo06 {
    private int x6;
    private int y6;

    public int getX() {
        return x6;
    }
    public void setX(int x) {
        if (x6 >= 0) {
            this.x6 = x;
        }
    }

    public int getY() {
        return y6;
    }
    public void setY(int y) {
        this.y6 = y;
    }
}
